﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Session.aspx.cs" Inherits="Sssion" %>

<%@ Register src="UserControl/TimeControl.ascx" tagname="TimeControl" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Session</title>
    <script type="text/javascript">
    
      function pageLoad() {
      }
    
    </script>
    <style type="text/css">
        .style1 {
            height: 23px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h1>Session</h1>
        
        <uc1:TimeControl ID="TimeControl1" runat="server" />
        
 
    </div>
  
       <label>Name :-</label> <asp:TextBox ID="TxtName" runat="server"></asp:TextBox><br />
     <br />
        <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
        <br />
        <p>
        
        A 'session' is the period during which someone is using your site.

        And 'Session State', which is often just known as 'Session', 
       is a place where you can store information for the user during their session!
       
       The default time out for session is 20 minutes,
        u can also change it based on your requirements.
       </p>
       
       <table>
    <tr>
    <td class="style1">
    <th class="style1">Form</th>
    </td>
    </tr>
    <tr>
    <td>
      <asp:Label ID="LblFName" runat="server" Text="FirstName"></asp:Label>  
    </td>
    <td>
     <asp:TextBox ID="TxtFName" runat="server"></asp:TextBox>
    </td>
       </tr>
    <tr>
    <td>
      <asp:Label ID="LblLName" runat="server" Text="LastName"></asp:Label>  
    </td>
    <td>
     <asp:TextBox ID="TxtLName" runat="server"></asp:TextBox>
    </td>
       </tr>
       <tr>
    <td>
      <asp:Label ID="LblEmail" runat="server" Text="Email ID"></asp:Label>  
    </td>
    <td>
     <asp:TextBox ID="TxtEmail" runat="server"></asp:TextBox>
    </td>
       </tr>
       <tr>
    <td>
      <asp:Label ID="LblDob" runat="server" Text="Date Of Birth"></asp:Label>  
    </td>
    <td>
     <asp:TextBox ID="TxtDob" runat="server"></asp:TextBox>
    </td>
       </tr>
       <tr>
       <td>
           <asp:Button ID="BtnSubmit" runat="server" Text="Submit" 
               onclick="BtnSubmit_Click" />
       </td>
       <td>
       <asp:Button ID="BtnReset" runat="server" Text="Reset" />
       </td>
       </tr>
    </table>
     
       <a href ="Default.aspx">Back</a>
    <br />
    </form>
</body>
</html>
